import request from "@/utils/request";


/**
 * 发票历史
 * @param userId
 * @return
 */
export function historyList() {
    return request({
        url: '/invoice/history/list' ,
        method: 'get',
    })
}

/**
 * 可开发票列表
 * @param userId
 * @return
 */
export function listMassage() {
    return request({
        url: '/invoice/list',
        method: 'get'
    })
}

/**
 * 保存发票
 * @param
 * @return
 */
export function saveMassage(data) {
    return request({
        url: '/invoice/save',
        method: 'post',
        data: data
    })
}
